package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.system.domain.PQuestionTopic;
import com.ruoyi.system.domain.vo.PQuestionTopicVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 题目标题Mapper接口
 *
 * @author ruoyi
 * @date 2022-07-28
 */
public interface PQuestionTopicMapper extends BaseMapperPlus<PQuestionTopicMapper, PQuestionTopic, PQuestionTopicVo> {

    /**
     * 前端-查询题目
     */
    Page<PQuestionTopic> selectMyPage(@Param("build") Page<PQuestionTopic> build, @Param("ew") QueryWrapper<PQuestionTopic> lqw);

    /**
     * 前端-查询
     */
    PQuestionTopic selectFontById(Long id);
}
